package com.waimai.db.dao;

import java.util.List;
import java.util.Map;

import com.waimai.db.entity.ReceiveAddress;
import com.waimai.db.entity.User;

public interface UserDao {
	public User findUser(User user);
	public User insert(User user);
	public User update(User user);
	public List<ReceiveAddress> getAddresses(Integer userId);
	public List<User> getUsers();
	public List<Map<String, Object>> getCommentsByUserId(int userId);
}
